/* 中文字体优化 */

/* 简体中文字体设置 */
@font-face {
  font-family: 'PingFang SC';
  font-style: normal;
  font-weight: 400;
  src: local('PingFang SC'), local('PingFang-SC-Regular');
}

@font-face {
  font-family: 'PingFang SC';
  font-style: normal;
  font-weight: 700;
  src: local('PingFang SC Bold'), local('PingFang-SC-Bold');
}

@font-face {
  font-family: 'Microsoft YaHei';
  font-style: normal;
  font-weight: 400;
  src: local('Microsoft YaHei'), local('Microsoft-YaHei');
}

@font-face {
  font-family: 'Microsoft YaHei';
  font-style: normal;
  font-weight: 700;
  src: local('Microsoft YaHei Bold'), local('Microsoft-YaHei-Bold');
}

/* 字体平滑优化 */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 标题字体加粗和字间距优化 */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
}

/* 正文阅读体验优化 */
p {
  line-height: 1.8;
  letter-spacing: 0.01em;
}

/* 强调文本字体设置 */
.lead, .banner-title, .section-title {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  font-weight: 600;
}

/* 导航和按钮字体优化 */
.nav-link, .btn, .dropdown-item {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  font-weight: 500;
}

/* 数字和英文字符优化 */
.number, .count-up {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
} 